import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home/Home.vue' // 首页
import Hospital from '../views/Hospital/Hospital.vue' //  医疗
import DrugPrice from '../views/Hospital/DrugPrice/DrugPrice.vue' //  药价查询
import PriceDetail from '../views/Hospital/DrugPrice/PriceDetail.vue' //  药价查询  药品详情

import Health from '../views/Health/Health.vue' //  健康
import Healthdetail from '../views/Health/Healthdetail.vue' //  健康

import Profile from '../views/Profile/Profile.vue' //  我的
import Personal from '../views/Profile/Personal.vue' //  我的
import Wallet from '../views/Profile/Wallet/Wallet.vue' //  我的余额 钱包
import BalanceRecharge from '../views/Profile/Wallet/BalanceRecharge.vue' //  我的余额 钱包充值
import WalletCardPay from '../views/Profile/Wallet/cardPay.vue' //  我的余额 添加银行卡
import WalletPhone from '../views/Profile/Wallet/VerifiPhone.vue' //  我的余额 添加银行卡 验证手机号
import WalletSetPay from '../views/Profile/Wallet/SetPay.vue' //  我的余额 添加银行卡 支付设置
import WalletSetPayNew from '../views/Profile/Wallet/SetPayNew.vue' //  我的余额 添加银行卡 支付确认

import BindPhone from '../views/BindPhone/BindPhone.vue' //  绑定手机号
import Bind from '../views/Bind/Bind.vue' //  绑定/办理健康卡
import BindCard from '../views/BindCard/BindCard.vue' //  绑定健康卡
import Login from '../views/Login/Login.vue' //  注册电子健康卡
import SearchBalance from '../views/SearchBalance/SearchBalance.vue' //  余额快查
import SearchResult from '../views/SearchBalance/SearchResult.vue' //  余额快查  结果
import Card from '../views/Card/Card.vue' //  卡包
import Recharge from '../views/Recharge/Recharge.vue' //  充值
import cardPay from '../views/Recharge/cardPay.vue' //   添加银行卡
import VerifiPhone from '../views/Recharge/VerifiPhone.vue' //   添加银行卡 验证手机号
import SetPay from '../views/Recharge/SetPay.vue' //   添加银行卡 支付设置
import SetPayNew from '../views/Recharge/SetPayNew.vue' //   添加银行卡 支付设置  确认

import CardCode from '../views/Card/CardCode.vue' //  卡包 详情 二维码
import Code from '../views/Code/Code.vue' //  首页 点击电子卡 二维码
import Recording from '../views/Recording/Recording.vue' //  消费充值记录  Rechargerecord
import Rechargerecord from '../views/Recording/Rechargerecord.vue' //  充值记录详情
import Consumrecord from '../views/Recording/Consumrecord.vue' //  消费记录详情
import Notice from '../views/Notice/Notice.vue' //  消息中心
import Assistant from '../views/Assistant/Assistant.vue' //  健康卡小助手
import AssDetail from '../views/Assistant/AssDetail.vue' //  健康卡小助手   详情页     Registered
import Registered from '../views/Outpatient/Registered.vue' //  / 门诊服务   挂号 医院列表
import HosRegisted from '../views/Outpatient/HosRegisted.vue' //  / 门诊服务  挂号，科室列表
import ToKeshi from '../views/Outpatient/ToKeshi.vue' //  / 门诊服务  挂号， 进入科室医生列表
import SelectDoctor from '../views/Outpatient/SelectDoctor.vue' //  / 门诊服务  挂号， 选择医生点击预约
import Doctor from '../views/Outpatient/Doctor/Doctor.vue' //  / 门诊服务  挂号， 医生主页   Reservation
import Reservation from '../views/Outpatient/Reservation/Reservation.vue' //  / 门诊服务  挂号， 医生主页   ReserSuccess
import ReserSuccess from '../views/Outpatient/Reservation/ReserSuccess/ReserSuccess.vue' //  / 门诊服务  挂号， 医生主页
import Pay from '../views/Outpatient/Pay/Pay.vue' //  / 门诊服务  缴费
import PaycardPay from '../views/Outpatient/Pay/cardPay.vue' //  / 门诊服务  缴费  添加银行卡
import PayPhone from '../views/Outpatient/Pay/VerifiPhone.vue' //  / 门诊服务  缴费  银行卡验证码
import PaySetPay from '../views/Outpatient/Pay/SetPay.vue' //  / 门诊服务  缴费  密码设置
import PaySetPayNew from '../views/Outpatient/Pay/SetPayNew.vue' //  / 门诊服务  缴费  确认设置

import TestResult from '../views/Outpatient/TestResult/TestResult.vue' //  / 门诊服务  检查结果查询
import TestSearchResult from '../views/Outpatient/TestResult/SearchResult.vue' //  / 门诊服务  检查结果查询  查询结果  ResultDetail
import ResultDetail from '../views/Outpatient/TestResult/ResultDetail.vue' //  / 门诊服务  检查结果查询  查询结果详情
import Record from '../views/Hospital/Record/Record.vue' //  挂号记录
import RecordDetail from '../views/Hospital/Record/RecordDetail.vue' //  挂号详情
import Sign from '../views/Hospital/Record/Sign.vue' //  签到排号
import HospitalList from '../views/Hospital/HospitalList/HospitalList.vue' //  医院 详情
import HospitalDetail from '../views/Hospital/HospitalList/HospitalDetail.vue' //  医院 详情
import FreeConsu from '../views/Hospital/FreeConsu/FreeConsu.vue' //  义诊咨询
import InquireNow from '../views/Hospital/FreeConsu/InquireNow.vue' //  立即咨询
import InquireQuick from '../views/Hospital/FreeConsu/InquireQuick.vue' //  快速咨询
import FreeDoctor from '../views/Hospital/FreeConsu/FreeDoctor.vue' //  义诊医生
import rule from '../views/Hospital/FreeConsu/rule.vue' //  义诊咨询 活动规则
import PhoneConsu from '../views/Hospital/PhoneConsu/PhoneConsu.vue' //  电话咨询
import PhoneConDetail from '../views/Hospital/PhoneConsu/PhoneConDetail.vue' //  电话咨询
import Medical from '../views/Hospital/Medical/Medical.vue' //  体检预约

import Family from '../views/Profile/Family/Family.vue' //  亲情账号
import FamilyDetail from '../views/Profile/Family/FamilyDetail.vue' //  亲情账号 详情
import AddFamily from '../views/Profile/Family/AddFamily.vue' //  亲情账号 添加家人
import Collect from '../views/Profile/Collect/Collect.vue' //  我的收藏
import Customer from '../views/Profile/Customer/Customer.vue' //  客服帮助
import CustomerDetail from '../views/Profile/Customer/CustomerDetail.vue' //  服务中心
import Service from '../views/Profile/Service.vue' //  服务中心

Vue.use(VueRouter)

const routes = [
  { path: '/', name: 'Home', component: Home },
  {
    path: '/Hospital', name: 'Hospital', component: Hospital
    // component: () => import(/* webpackChunkName: "Hospital" */ '../views/Hospital/Hospital.vue')
  },
  {
    path: '/Health', name: 'Health', component: Health
  },
  {
    path: '/DrugPrice', name: 'DrugPrice', component: DrugPrice
  },
  {
    path: '/PriceDetail', name: 'PriceDetail', component: PriceDetail
  },
  {
    path: '/Healthdetail', name: 'Healthdetail', component: Healthdetail
  },
  {
    path: '/Profile', name: 'Profile', component: Profile
  },
  {
    path: '/Personal', name: 'Personal', component: Personal
  },
  {
    path: '/Wallet', name: 'Wallet', component: Wallet
  },
  {
    path: '/BalanceRecharge', name: 'BalanceRecharge', component: BalanceRecharge
  },
  {
    path: '/WalletCardPay', name: 'WalletCardPay', component: WalletCardPay
  },
  {
    path: '/WalletPhone', name: 'WalletPhone', component: WalletPhone
  },
  {
    path: '/WalletSetPay', name: 'WalletSetPay', component: WalletSetPay
  },
  {
    path: '/WalletSetPayNew', name: 'WalletSetPayNew', component: WalletSetPayNew
  },
  {
    path: '/BindPhone', name: 'BindPhone', component: BindPhone
  },
  {
    path: '/Bind', name: 'Bind', component: Bind
  },
  {
    path: '/BindCard', name: 'BindCard', component: BindCard
  },
  {
    path: '/Login', name: 'Login', component: Login
  },
  {
    path: '/SearchBalance', name: 'SearchBalance', component: SearchBalance
  },
  {
    path: '/SearchResult', name: 'SearchResult', component: SearchResult
  },
  {
    path: '/Card', name: 'Card', component: Card
  },
  {
    path: '/Recharge', name: 'Recharge', component: Recharge
  },
  {
    path: '/cardPay', name: 'cardPay', component: cardPay
  },
  {
    path: '/SetPay', name: 'SetPay', component: SetPay
  },
  {
    path: '/SetPayNew', name: 'SetPayNew', component: SetPayNew
  },
  {
    path: '/VerifiPhone', name: 'VerifiPhone', component: VerifiPhone
  },
  {
    path: '/CardCode', name: 'CardCode', component: CardCode
  },
  {
    path: '/Code', name: 'Code', component: Code
  },
  {
    path: '/Recording', name: 'Recording', component: Recording
  },
  {
    path: '/Rechargerecord', name: 'Rechargerecord', component: Rechargerecord
  },
  {
    path: '/Consumrecord', name: 'Consumrecord', component: Consumrecord
  },
  {
    path: '/Notice', name: 'Notice', component: Notice
  },
  {
    path: '/Assistant', name: 'Assistant', component: Assistant
  },
  {
    path: '/AssDetail', name: 'AssDetail', component: AssDetail
  },
  //  门诊
  {
    path: '/Registered', name: 'Registered', component: Registered
  },
  {
    path: '/HosRegisted', name: 'HosRegisted', component: HosRegisted
  },
  {
    path: '/ToKeshi', name: 'ToKeshi', component: ToKeshi
  },
  {
    path: '/SelectDoctor', name: 'SelectDoctor', component: SelectDoctor
  },
  {
    path: '/Doctor', name: 'Doctor', component: Doctor
  },
  {
    path: '/Reservation', name: 'Reservation', component: Reservation
  },
  {
    path: '/ReserSuccess', name: 'ReserSuccess', component: ReserSuccess
  },
  {
    path: '/Pay', name: 'Pay', component: Pay
  },
  {
    path: '/PaycardPay', name: 'PaycardPay', component: PaycardPay
  },
  {
    path: '/PayPhone', name: 'PayPhone', component: PayPhone
  },
  {
    path: '/PaySetPay', name: 'PaySetPay', component: PaySetPay
  },
  {
    path: '/PaySetPayNew', name: 'PaySetPayNew', component: PaySetPayNew
  },
  {
    path: '/TestResult', name: 'TestResult', component: TestResult
  },
  {
    path: '/TestSearchResult', name: 'TestSearchResult', component: TestSearchResult
  },
  {
    path: '/ResultDetail', name: 'ResultDetail', component: ResultDetail
  },
  {
    path: '/Record', name: 'Record', component: Record
  },
  {
    path: '/RecordDetail', name: 'RecordDetail', component: RecordDetail
  },
  {
    path: '/Sign', name: 'Sign', component: Sign
  },
  {
    path: '/HospitalList', name: 'HospitalList', component: HospitalList
  },
  {
    path: '/HospitalDetail', name: 'HospitalDetail', component: HospitalDetail
  },
  {
    path: '/FreeConsu', name: 'FreeConsu', component: FreeConsu
  },
  {
    path: '/InquireNow', name: 'InquireNow', component: InquireNow
  },
  {
    path: '/InquireQuick', name: 'InquireQuick', component: InquireQuick
  },
  {
    path: '/FreeDoctor', name: 'FreeDoctor', component: FreeDoctor
  },
  {
    path: '/rule', name: 'rule', component: rule
  },
  {
    path: '/PhoneConsu', name: 'PhoneConsu', component: PhoneConsu
  },
  {
    path: '/PhoneConDetail', name: 'PhoneConDetail', component: PhoneConDetail
  },
  {
    path: '/Medical', name: 'Medical', component: Medical
  },
  {
    path: '/Family', name: 'Family', component: Family
  },
  {
    path: '/FamilyDetail', name: 'FamilyDetail', component: FamilyDetail
  },
  {
    path: '/AddFamily', name: 'AddFamily', component: AddFamily
  },
  {
    path: '/Collect', name: 'Collect', component: Collect
  },
  {
    path: '/Customer', name: 'Customer', component: Customer
  },
  {
    path: '/CustomerDetail', name: 'CustomerDetail', component: CustomerDetail
  },
  {
    path: '/Service', name: 'Service', component: Service
  }

]

const router = new VueRouter({
  routes
})

export default router
